<?php
include("m2mLib.php");
// M2M-ARH API
//====================================
// digitalWrite($id,$pin,$value)
// Example: digitalWrite(1111,1,HIGH);
// Set digital pin 1 on Arduino=1111 to HIGH
//
// analogWrite($id,$pin,$value)
// Example: analogWrite(1111,2,123);
// Set digital pin 1 on Arduino=1111 to 123 (0 - 255) PWM
//
// digitalRead($id,$pin) 
// Example: digitalRead(1111,2);
// Return value (HIGH or LOW, i.e. 1/0) of digital pin 2 on Arduino=1111
//
// analogRead($id,$pin)
// Example: analogRead(1111,2);
// Return value (0 - 1023) of analog pin 2 on Arduino=1111

// pinMode($id,$pin,$value)
// Example: pinMode(1111,5,INPUT)
// Set pinmode to INPUT for digital pin 5 on Arduino=1111
//====================================



?>
